home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-0039 / source / dcscreen.def < prev    next >
Text File  |  1997-04-16  |  4KB  |  65 lines

  1. DEFINITION MODULE DCScreen;
  2.  
  3. (*---------------------------------------------------------------------*)
  4. (*   Screen Display Module for DegasConvert                            *)
  5. (*                                                                     *)
  6. (*   Functions:                                                        *)
  7. (*       1) Given a hi-resolution display, show it on the screen,      *)
  8. (*          taking into account the current screen resolution.         *)
  9. (*                                                                     *)
  10. (*                                                                     *)
  11. (*       2) Given a hi-resolution display, show it on a hi-res         *)
  12. (*          terminal.                                                  *)
  13. (*                                                                     *)
  14. (*       3) Given a medium resolution display, show it on a            *)
  15. (*          medium res ( colour ) terminal.                            *)
  16. (*                                                                     *)
  17. (*       4) Given a hi-resolution display, rearrange it so that        *)
  18. (*          it is suitable for displaying on a med-res terminal.       *)
  19. (*                                                                     *)
  20. (*       5) Given a Hi-res picture display it on the FULL screen.      *)
  21. (*          i.e. overwrite menu & window.                              *)
  22. (*                                                                     *)
  23. (*   Version 2.0      August 1988                    L.G.Miller        *)
  24. (*                                                                     *)
  25. (*   Version 1.1      August 1987                    L.G.Miller        *)
  26. (*---------------------------------------------------------------------*)
  27. FROM DCGlobal         IMPORT HiResScreen,
  28.                              MedResScreen;
  29.  
  30. (*----------------------------------------------------------------------*)
  31. (* Show a hi-res display on the screen irrespective of current screen   *)
  32. (* resolution.                                                          *)
  33. (*----------------------------------------------------------------------*)
  34. PROCEDURE DisplayPicture ( VAR picture : HiResScreen );
  35.  
  36.  
  37. (*----------------------------------------------------------------------*)
  38. (* Show a hi-res display on the FULL screen irrespective of current     *)
  39. (* resolution.  This routine is used by DoSelectImage.                  *)
  40. (*----------------------------------------------------------------------*)
  41. PROCEDURE DisplayFullPicture ( VAR picture : HiResScreen );
  42.  
  43.  
  44.  
  45. (*----------------------------------------------------------------------*)
  46. (* Show the given hi-res picture on the screen                          *)
  47. (*----------------------------------------------------------------------*)
  48. PROCEDURE DisplayHiResPicture( VAR picture  : HiResScreen );
  49.  
  50.  
  51. (*----------------------------------------------------------------------*)
  52. (* Show the converted hi-res picture on the screen                      *)
  53. (*----------------------------------------------------------------------*)
  54. PROCEDURE DisplayMedResPicture ( VAR picture : MedResScreen );
  55.  
  56.  
  57. (*----------------------------------------------------------------------*)
  58. (* For colour users rearrange a hi-res screen into a med-res screen     *)
  59. (*----------------------------------------------------------------------*)
  60. PROCEDURE ConvertHiToMedResDisplay ( VAR hiresdisplay  : HiResScreen;
  61.                                      VAR medresdisplay : MedResScreen );
  62.  
  63.  
  64. END DCScreen.  
  65.